import { onMounted, ref } from 'vue'
export function useAdd() {
var number = ref(0)
onMounted(() => {
    add()
})
  function add() {
   number.value++
  }
  return {
    add,
    number
  }
}